<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <link rel="stylesheet" href="libs/normalize.css">
        <link rel="stylesheet" href="libs/bootstrap/css/bootstrap.css">
        <link rel="stylesheet" href="libs/bootstrap/css/bootstrap-responsive.css">
        <link rel="stylesheet" href="style.css">
        <script src="libs/jquery-1.7.2.js"></script>
        <script src="libs/bootstrap/js/bootstrap.js"></script>
        <script src="interactive.js"></script>
    </head>
    <body>
        <div class="navbar">
            <div class="navbar-inner">
                <div class="container">
                    <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </a>
                    <a class="brand" href="#">Task 3</a>
                </div>
            </div>
        </div>
        <div class="container">
            <div class="row">
                <div class="span2">
                    <ul class="nav nav-pills nav-stacked" id="ulMenu">
                        <li id="liMenuNotes"><a href="#" id="aMenuNotes" data-href="Notes"><i class="icon-eye-open"></i> Notes</a></li>
                        <li id="liMenuProfile"><a href="#" id="aMenuProfile" data-href="Profile"><i class="icon-user"></i> Profile</a></li>
                        <li id="liMenuEditor"><a href="#" id="aMenuEditor" data-href="Editor"><i class="icon-edit"></i> Editor</a></li>
                    </ul>
                </div>
                <div class="span5" id="divContent">
                    <div id="divAlert">
                        <div class="alert alert-info" id="divInfo">
                        </div>
                    </div>
                    <div id="divNotes">
                        <table class="table table-striped table-bordered" id="tableNotes">
                            <colgroup>
                                <col class="span1">
                                <col class="span1">
                                <col class="span3">
                            </colgroup>
                            <thead>
                                <tr>
                                    <th>Id</th>
                                    <th>User Id</th>
                                    <th>Text</th>
                                </tr>
                            </thead>
                            <tbody id="tbodyNotes">
                            </tbody>
                        </table>
                    </div>
                    <div id="divProfile">
                        <form class="form-horizontal" id="formProfile">
                            <fieldset>
                                <legend>Profile</legend>
                                <div class="control-group">
                                    <label class="control-label" for="inputEmail">E-mail</label>
                                    <div class="controls">
                                        <input type="text" name="email" id="inputEmail">
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label class="control-label" for="inputPassword">Password</label>
                                    <div class="controls">
                                        <input type="text" name="password" id="inputPassword">
                                    </div>
                                </div>
                                <div class="form-actions">
                                    <button class="btn btn-success" id="btnLogIn">Log in</button>
                                    <button class="btn btn-success" id="btnSignUp">Sign up</button>
                                </div>
                            </fieldset>
                        </form>
                        <div id="divProfileAuth">
                            <form class="form-horizontal">
                                <fieldset>
                                    <div class="form-actions">
                                        <button class="btn btn-danger" id="btnLogOut">Log Out</button>
                                    </div>
                                </fieldset>
                            </form>
                            <table class="table table-striped table-bordered" id="tableProfile">
                                <tbody>
                                <tr>
                                    <td>Id</td>
                                    <td id="tdProfileId"></td>
                                </tr>
                                <tr>
                                    <td>E-mail</td>
                                    <td id="tdProfileEmail"></td>
                                </tr>
                                <tr>
                                    <td>Rights</td>
                                    <td id="tdProfileRights"></td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <div id="divEditor">
                        <form class="form-horizontal" id="formEditor">
                            <fieldset>
                                <legend>Editor</legend>
                                <div class="control-group">
                                    <label class="control-label" for="textareaEditorNote">Text</label>
                                    <div class="controls">
                                        <textarea name="text" id="textareaEditorNote"></textarea>
                                    </div>
                                </div>
                                <div class="form-actions">
                                    <button class="btn btn-success" id="btnAddNote">Add note</button>
                                </div>
                            </fieldset>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>